<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>File Browser</title>
<link rel="stylesheet" type="text/css" href="../extjs/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="../filebrowser/resources/filebrowser.css" />
<script type="text/javascript" src="../extjs/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../extjs/ext-all-debug.js"></script>
<script language="javascript" type="text/javascript" src="../filebrowser/filebrowser.js"></script>

<script language="javascript" type="text/javascript">
var fileWindow = false;
Ext.onReady(function(){
	fileWindow = new Ext.ux.fileBrowser({
		actionURL: '../filebrowser/filebrowser.php',
		mode: 'thumbs',
		fileInfo: true,
		handler: function(filepath,fileinfo){
			alert(filepath);
		}
	});
	fileWindow.show();

});
</script>
</head>
<body>
</body>
</html>